#include <bits/stdc++.h>
using namespace std;
struct Stu {
  int id;
  int score;
};
Stu students[200001];
bool guize(Stu a, Stu b) {
  if ( a.score > b.score || a.score == b.score && a.id < b.id )
    return true;
  else
    return false;
}
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> students[i].score;
    students[i].id = i;
  }
  sort(students + 1, students + n + 1, guize);
  for (int i = 1; i <= n; i++) {
    cout << students[i].id << endl;
  }
  return 0;
}